#include  "test.c"
double total=1024.0;
double speed=2.0;
double current=0;

void download()
{
    while(current<=total)
    {
        flush_progress(total,current);
        usleep(40000);
        current+=speed;
    }
    printf("\n");
}
int main()
{
    download();
    return 0;
}
